<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>欢迎使用→发票拆分</title>
    <link href="/invoice/css/myCss.css" rel="stylesheet" type="text/css" />
    <script src="/invoice/js/jquery.min.js"></script>
    <script src="/invoice/js/myJs.js"></script>
</head>
<body>
<!--
name=${name } welcome!
-->
<div style="width:100%;text-align: center; padding-top: 30px;"><h1>发票拆分系统</h1></div>
<div style="width:100%;text-align: center;padding-top: 10px;">
<div class="main">
    数量：<input type="text" class="textInput" id="shuliangText" onkeyup="jsje()">
    单价：<input type="text" class="textInput" id="danjiaText" onkeyup="jsje()">
    价税：<input type="text" class="textInput" id="shuilvText" readonly="readonly" value="16%">
    金额：<input type="text" class="textInput" id="jineText" >
    张数：<input type="text" class="textInput" id="zhangshuText">
    <div style="padding-top: 15px;">
        <input type="button" class="button button2" value="提交" onclick="tj()"/>
        <a id="dlink"  style="display:none;"></a>
        <input type="button" class="button button2" onclick="tableToExcel('tables', 'name', 'myfile.xls')" value="导出" />
    </div>
</div>
<table id="tables" align="center"
        style="background-color: #2B2B2B; width: 800px; text-align: center;"
        cellpadding="1" cellspacing="1">
    <caption><h2>发票拆分明细</h2></caption>
    <thead>
    <tr style="background-color: #ffffff;font-size: 15px; font-weight: bold; height: 30px;">
        <th width="60px">序号</th>
        <th>数量</th>
        <th>单价</th>
        <th>价税</th>
        <th>金额</th>
    </tr>
    </thead>
    <tbody style="display: none">
    </tbody>
</table>
</div>
</body>
</html>